import { createApp } from 'vue'

import './assets/css/style.less'

import router from './router'

import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

// 数字跳动指令
import counter from './directive/v-counter';

// 使用自定义指令插件
import App from './App.vue'
createApp(App).use(pinia).use(counter).use(router).mount('#app')
